package com.world.business.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 用户符箓关联表
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-27
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_talisman")
@ApiModel(value = "UserTalisman对象", description = "用户符箓关联表")
public class UserTalisman implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("符箓Id")
    private Long talismanId;

    @ApiModelProperty("数量")
    private Integer num;

    @ApiModelProperty("炼制者")
    private Long refineId;

    @ApiModelProperty("炼制时间")
    private LocalDateTime refineTime;

    @ApiModelProperty("符箓完整程度")
    private Double integrity;
}
